package com.example.entity;

import com.baomidou.mybatisplus.annotation.TableField;

public class User {
    private String id;
    private String name;
    private String sex;
    private int age;
    private String email;

    // 确保字段名与数据库一致
    @TableField("PhoneNumber")  // 如果数据库字段是大写的 PhoneNumber
    private String phoneNumber;

    // Getters and Setters
    public String getId() { return id; }
    public void setId(String id) { this.id = id; }
    public String getName() { return name; }
    public void setName(String name) { this.name = name; }
    public String getSex() { return sex; }
    public void setSex(String sex) { this.sex = sex; }
    public int getAge() { return age; }
    public void setAge(int age) { this.age = age; }
    public String getEmail() { return email; }
    public void setEmail(String email) { this.email = email; }
    public String getPhoneNumber() { return phoneNumber; }
    public void setPhoneNumber(String phoneNumber) { this.phoneNumber = phoneNumber; }
}